@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* =======================================================
   ESAH Design Tokens
======================================================= */
:root{
  --esah-green:#A6CE39;
  --esah-green-hover:#94B733;
  --headline:#1F3A63;
  --text:#1F2A33;
  --muted:#4A5A69;
  --border:#E4ECF3;
}

/* =======================================================
   Base
======================================================= */
body{
  font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
}

/* =======================================================
   CTA Buttons (global, robust gegen Zoho Wrapper)
   -> nutzbar als .header-cta UND .esah-cta
======================================================= */
.header-cta,
.esah-cta,
a.header-cta,
a.esah-cta,
button.header-cta,
button.esah-cta{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  background:var(--esah-green) !important;
  color:var(--text) !important;
  text-decoration:none !important;

  font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight:600 !important;
  font-size:16px !important;
  line-height:1 !important;

  padding:12px 28px !important;
  border-radius:999px !important;

  border:0 !important;
  box-shadow:none !important;
  cursor:pointer !important;

  white-space:nowrap !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  float:none !important;
}

/* Zoho innerer Wrapper (türkiser Kasten etc.) */
.header-cta *,
.esah-cta *{
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  color:var(--text) !important;
}

/* Hover */
.header-cta:hover,
.esah-cta:hover,
a.header-cta:hover,
a.esah-cta:hover{
  background:var(--esah-green-hover) !important;
  color:var(--text) !important;
}

/* Focus */
.header-cta:focus,
.header-cta:focus-visible,
.esah-cta:focus,
.esah-cta:focus-visible{
  outline:none !important;
  box-shadow:0 0 0 3px rgba(166,206,57,.35) !important;
}

/* Visited nicht lila */
a.header-cta:visited,
a.esah-cta:visited{
  color:var(--text) !important;
}

/* =======================================================
   Logos / Benefits
======================================================= */
.logos-row{ margin-bottom:32px; }

.benefits-row{
  margin-top:40px;
  margin-bottom:60px;
}

.benefit-item{
  text-align:center;
  padding:0 16px;
}

.benefit-item p{
  max-width:320px;
  margin:0 auto;
  line-height:24px;
}

.benefit-item > *:first-child{
  margin-bottom:18px;
  font-size:36px;
}

.benefit-item > *:nth-child(2){
  margin-bottom:12px;
  font-size:20px;
  font-weight:600;
  color:var(--headline);
}

.benefit-item > *:nth-child(3){
  font-size:14px;
  line-height:24px;
}

/* =======================================================
   Hero Stat (30%)
======================================================= */
.hero-line2{
  display:flex;
  align-items:baseline;
  gap:14px;
}

.hero-stat{
  font-weight:700;
  line-height:1;
  font-size:clamp(52px, 6vw, 88px);
  color:var(--headline);
}

/* =======================================================
   Hero Bullet List (Häkchen-Liste)
   Container-Klasse: hero-auftragsvolumen
======================================================= */
.hero-auftragsvolumen ul{
  margin:16px 0 0 !important;
  padding-left:0 !important;
  list-style:none !important;
}

.hero-auftragsvolumen ul li{
  position:relative !important;
  padding-left:22px !important;
  margin:10px 0 !important;
  line-height:24px !important;
  color:var(--muted) !important;
}

.hero-auftragsvolumen ul li::before{
  content:"✓" !important;
  position:absolute !important;
  left:0 !important;
  top:0.05em !important;
  color:var(--esah-green) !important;
  font-weight:700 !important;
}

.hero-auftragsvolumen ul li strong,
.hero-auftragsvolumen ul li b{
  color:var(--text) !important;
  font-weight:700 !important;
}

/* =======================================================
   Karussell-Folien: Bottom Space eliminieren
   -> Klasse auf JEDE Folie: pain-slide
======================================================= */
.pain-slide{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
  min-height:0 !important;
  height:auto !important;
}

.pain-slide > *:last-child{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}

.pain-slide p{ margin-top:0 !important; }
.pain-slide p:last-child{ margin-bottom:0 !important; }

.pain-slide h1,
.pain-slide h2,
.pain-slide h3{ margin-top:0 !important; }

/* =======================================================
   Zielgruppe Liste
======================================================= */
.zielgruppe-list{
  list-style-position:inside;
  padding-left:0;
  margin:0 auto;
  max-width:820px;
}

/* =======================================================
   Ablauf Box
======================================================= */
.ablauf-box p{
  font-size:16px;
  line-height:24px;
  margin:0;
}

.ablauf-box p:nth-of-type(2n-1){
  font-size:22px;
  font-weight:700;
  margin-bottom:4px;
  color:var(--headline);
}

.ablauf-box p:nth-of-type(2n){
  margin-bottom:20px;
}

/* =======================================================
   Testimonials
======================================================= */
.testimonials-section{
  margin-top:40px;
  margin-bottom:60px;
}

.t-body{
  min-height:280px;
  margin-bottom:24px;
}

@media (min-width:1024px){
  .t-body{ height:380px; }
}

.final-cta-button{
  text-align:center;
  margin-top:32px;
}

/* =======================================================
   FAQ
======================================================= */
.faq-section{
  padding-top:80px;
  padding-bottom:80px;
}

.faq-title{
  font-size:32px;
  line-height:40px;
  font-weight:700;
  color:var(--headline);
  text-align:center;
  margin-bottom:16px;
}

.faq-intro{
  font-size:16px;
  line-height:24px;
  color:var(--muted);
  text-align:center;
  max-width:720px;
  margin:0 auto 32px auto;
}

.faq-item{
  max-width:800px;
  margin:0 auto 24px auto;
}

.faq-question{
  font-size:18px;
  line-height:26px;
  font-weight:600;
  color:var(--headline);
  margin:0 0 6px 0;
}

.faq-answer{
  font-size:16px;
  line-height:24px;
  color:var(--text);
  margin:0;
}

/* =======================================================
   Footer
======================================================= */
.footer-heading{
  font-size:16px;
  font-weight:600;
  color:var(--headline);
  margin-bottom:4px;
}

.footer-link{
  font-size:14px;
  font-weight:400;
  color:var(--text);
  margin-bottom:4px;
}

.footer-link a,
.footer-heading a{
  color:inherit;
  text-decoration:none;
}

.footer-link a:hover,
.footer-heading a:hover{
  text-decoration:underline;
}

.footer-social-title{
  margin-bottom:6px !important;
}

/* =======================================================
   Carousel Pfeile (Slick)
======================================================= */
.esah-carousel{ position:relative !important; }
.esah-carousel .slick-prev{ left:-24px !important; }
.esah-carousel .slick-next{ right:-24px !important; }
.esah-carousel .slick-list{ overflow:visible !important; }

/* =======================================================
   BMA Steps Image (Overflow-Variante)
======================================================= */
.bma-steps-row,
.bma-steps-row *{
  overflow:visible !important;
}

.bma-steps-imgcol{
  position:relative;
  overflow:visible !important;
}

:root{
  --bmaImgWidth: 420px;
  --bmaImgShiftY: 0px;
}

.bma-steps-img{
  position:relative;
  z-index:50;
  left:50%;
  transform:translateX(-50%) translateY(var(--bmaImgShiftY));
  width:var(--bmaImgWidth);
  max-width:var(--bmaImgWidth);
  margin:0;
}

.bma-steps-img img{
  width:100% !important;
  height:auto !important;
  display:block;
}

@media (max-width:980px){
  .bma-steps-img{
    left:auto;
    transform:none;
    width:100%;
    max-width:420px;
    margin:16px auto;
  }
}

/* =======================================================
   Partner Section (2 Spalten: Card links, Bild+CTA rechts)
======================================================= */
.esah-partner-section{
  padding:80px 0;
}

.esah-partner-card{
  background:#F6F7F9;
  border:1px solid rgba(31,42,51,0.08);
  border-radius:24px;
  padding:44px 48px;
}

.esah-partner-card h1,
.esah-partner-card h2,
.esah-partner-card h3{
  color:var(--headline);
  font-family:"Inter", sans-serif;
  font-weight:700;
  font-size:36px;
  line-height:1.15;
  text-align:center;
  max-width:560px;
  margin:0 auto 28px auto;
}

.esah-partner-card ul{
  margin:0;
  padding-left:22px;
  list-style-position:outside;
}

.esah-partner-card li{
  color:var(--text);
  font-size:16px;
  line-height:24px;
  margin:0 0 12px 0;
}

.esah-partner-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  box-shadow:0 10px 28px rgba(0,0,0,.10);
}

/* Button in Partner-Rechts-Spalte: gleiche Breite wie Bild */
.esah-partner-cta{
  width:100%;
  max-width:520px;
  margin:14px auto 0;
  text-align:center;
}

@media (max-width:768px){
  .esah-partner-section{ padding:48px 0 56px; }
  .esah-partner-card{ padding:28px 22px; border-radius:20px; }
  .esah-partner-card h1,
  .esah-partner-card h2,
  .esah-partner-card h3{ font-size:28px; }
}

/* =======================================================
   Einheitliche Abschnitts-Überschrift
======================================================= */
.esah-section-title,
.esah-section-title *{
  font-family:"Inter", sans-serif !important;
  color:var(--headline) !important;
  font-weight:700 !important;
  text-align:center !important;
}

.esah-section-title{
  font-size:34px !important;
  line-height:1.2 !important;
  margin:0 auto 44px !important;
}

@media (max-width:768px){
  .esah-section-title{
    font-size:26px !important;
    margin-bottom:28px !important;
  }
}

/* =======================================================
   Abschnitt: So läuft die Zusammenarbeit (DEIN PROBLEM-BLOCK)
   Erwartete Klassen:
   - Row/Abschnitt: esah-collab-section
   - Linke Spalte:  esah-collab-left
   - Rechter Kasten (Text-Element): esah-collab-card
======================================================= */
.esah-collab-section{
  padding:70px 0 80px;
  background:#fff;
}

/* Linke Spalte: Bild + CTA sauber zentriert, nichts „springt“ raus */
.esah-collab-left{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:18px !important;
}

/* Bild darf niemals „mini“ sein */
.esah-collab-left img{
  width:100% !important;
  max-width:420px !important;
  height:auto !important;
  display:block !important;
  border-radius:14px !important;
}

/* CTA unter dem Bild: gleiche Breite wie Bild, mittig, kein Offset */
.esah-collab-left .esah-cta,
.esah-collab-left .header-cta{
  width:100% !important;
  max-width:420px !important;
  margin:0 auto !important;
  align-self:center !important;
}

/* Rechte Card: volle Spaltenbreite, sauberer Look */
.esah-collab-card{
  width:100% !important;
  background:#F6F7F9 !important;
  border:1px solid rgba(31,42,51,0.08) !important;
  border-radius:20px !important;
  padding:42px 46px !important;
  box-shadow:none !important;
  max-width:none !important;
  margin:0 !important;
}

/* Typo in der Card */
.esah-collab-card,
.esah-collab-card p{
  font-family:"Inter", sans-serif !important;
  color:var(--text) !important;
  font-size:16px !important;
  line-height:24px !important;
}

.esah-collab-card p{ margin:0 0 14px !important; }
.esah-collab-card p:last-child{ margin-bottom:0 !important; }

.esah-collab-card strong{
  font-weight:700 !important;
  color:var(--text) !important;
}

/* Mobile: stapeln + Luft */
@media (max-width:900px){
  .esah-collab-section{ padding:55px 0 60px; }
  .esah-collab-card{ padding:28px 22px !important; }
  .esah-collab-left img,
  .esah-collab-left .esah-cta,
  .esah-collab-left .header-cta{ max-width:100% !important; }
}

.esah-block-title{
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #1F2A33;
}
